package de.reondo.jos.filters;

public class NotFilter<T> implements IFilter<T> {

	private IFilter<T> filter;
	
	public IFilter<T> getFilter() {
		return filter;
	}

	public NotFilter(IFilter<T> filter) {
		this.filter = filter;
	}

	@Override
	public boolean accept(T cls) {
		return !filter.accept(cls);
	}

}
